﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Maxcoderz
{
    public class Sprite
    {
        private Rectangle _sourceRectangle;
        private int _index;
        private string _name;

        #region properties
        public string Name
        {
            get { return _name; }
        }
        public int Index
        {
            get { return _index; }
        }
        public Rectangle SourceRectangle
        {
            get { return _sourceRectangle; }
        }
        #endregion

        public Sprite(string name, int index, Rectangle sourceRectangle)
        {
            _name = name;
            _index = index;
            _sourceRectangle = sourceRectangle;           
        }
    }
}
